<div class="post">
	<div class="postHeader"><a href="<?=$this->url ?>" /><?=$this->title ?></a></div>
	<div class="postContent"><?=$this->content ?></div>
	<br />
	<span> Comments </span>
	<? while ($comment=$this->comments->next()){ ?>
	<div id="comment">
		<div><?=$comment['login'] ?></div>
		<div>
			<?=$comment['content'] ?>
		</div>
	</div>
	<?} ?>
	<? if ($this->numPages>1){ ?>
		<? for ($i=0;$i<$this->numPages;$i++){ ?>
			<a href="?action=blog&event=PostEvent:showPostEvent(<?=$this->postId ?>,<?=$i+1 ?>)"><?=$i+1 ?></a>
		<?} ?>
	<?} ?>
	<?if ($this->auth==true){ ?>
		<br />
		<?=$this->error ?>
		<h4>Add new Comment</h4>
		<form action="<?=$this->addCommentUrl ?>" method="post">
			<textarea rows="5" cols="50" name="commentData"></textarea>
			<input  type="submit" />
		</form>
	<?} ?>
</div>